package com.beiing.tianshuai.tianshuai.home.model;

import com.beiing.tianshuai.tianshuai.dongtai.CallBack;
import com.beiing.tianshuai.tianshuai.entity.IndexSearchListBean;
import com.beiing.tianshuai.tianshuai.entity.TopSearchAndClassificationBean;

/**
 * Created by LZQ on 2017/12/8.
 */

public interface ISearchModel {

    /**
     * 获取热搜词和搜索类别
     */
    void getTopSearchAndClassification(CallBack<TopSearchAndClassificationBean> callBack);

    /**
     * 获取搜索结果
     *
     * @param title  搜索关键字
     * @param typeId 搜索分类id
     */
    void getSearchResult(String title, int typeId, CallBack<IndexSearchListBean> callBack);
}
